package day0717;

import java.util.ArrayList;
import java.util.Collections;

public class test4 {
    public static void main(String[] args) {
        String[] a = new String[]{"A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"};
        ArrayList c = createBtns(a);
        Collections.shuffle(c);
        System.out.println(c);
    }

    static ArrayList createBtns(String[] a) {
        ArrayList arrayList = new ArrayList();
        for (int i = 0; i < 4; i++) {
            for (int j = 0; j < a.length; j++) {

                arrayList.add(a[j]);
            }
        }
        return arrayList;
    }
}
